package com.zmxstudy.rbac.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName slot
 */
@TableName(value ="slot")
@Data
public class Slot implements Serializable {
    /**
     * banner id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * banner img url
     */
    @TableField(value = "image")
    private String image;

    /**
     * 1 删除 0 未删除
     */
    @TableField(value = "is_deleted")
    private Boolean isDeleted;

    /**
     * 0:轮播图
1：用户评价
2：回收体验插图
3：公益事业插图
     */
    @TableField(value = "type")
    private Boolean type;

    /**
     * 用户名：根据需要引入
     */
    @TableField(value = "user")
    private String user;

    /**
     * 评价
     */
    @TableField(value = "comment")
    private String comment;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}